package org.karson.designpattern.behavioral.Interpreter.list;

public class ArrayList<E> implements List<E> {

    public int modCount;

    //...
    public Iterator iterator() {
        return new ArrayIterator(this);
    }

    @Override
    public int size() {
        return 0;
    }

    @Override
    public <E1> E1 get(int cursor) {
        return null;
    }

    @Override
    public void add(E xzg) {

    }

    @Override
    public void remove(E a) {

    }
    //...省略其他代码
}
